package cn.edu.cqut.mdm.core.moduleproxy;

import java.lang.reflect.Proxy;

public class ModuleProxyFactory {
	public static Object getProxy(Class<?> clazz){
		Object proxy = Proxy.newProxyInstance(clazz.getClassLoader(), new Class[]{clazz}, new ModuleProxyInterceptor());
		return proxy;
	}
}
